<?php
class Attachment extends DataMapper {
	var $has_one = array(
            'course' => array('join_table' => 'courses_attachments'),
            'article' => array('join_table' => 'articles_attachments')
        );

	var $has_many = array();
        
        var $validation = array();

        function __construct($id = NULL)
        {
            parent::__construct($id);
        }
}

/* End of file attachment.php */
/* Location: ./application/models/attachment.php */
